package org.jsrml.core.base.service;

import org.hibernate.Criteria;
import org.jsrml.common.persistence.BaseDao;
import org.jsrml.core.base.entity.Area;
import org.jsrml.core.base.qo.AreaQO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class AreaService extends BaseDao<Area, AreaQO> {

	@Override
	protected Criteria buildCriteria(Criteria criteria, AreaQO qo) {
		return criteria;
	}

	@Override
	protected Class<Area> getEntityClass() {
		return Area.class;
	}
}